import {
    create, NButton, NFormItem, NForm, NInput, NDropdown, NPopover, NInputGroup, NSelect,
    NTooltip, NModal, NRadioGroup, NRadio, NUpload, NColorPicker, NSpace, NImage, NIcon, NCheckbox,
    NLayout, NLayoutSider, NLayoutHeader, NLayoutContent,NMenu,NAvatar,NDrawer,NDrawerContent,NButtonGroup
} from "naive-ui"

const naive = create({
    components: [NButton, NFormItem, NForm, NInput, NDropdown, NInputGroup, NSelect, NPopover,
        NTooltip, NModal, NRadioGroup, NRadio, NUpload, NColorPicker, NSpace, NImage, NIcon,
        NCheckbox, NLayout, NLayoutSider, NLayoutHeader, NLayoutContent,NMenu,NAvatar,NDrawer,NDrawerContent,NButtonGroup,]
})

export function useNaiveUI(app) {
    app.use(naive)
}

